import Vue from 'vue'
import App from './App.vue'

import VueRouter from 'vue-router'
import router from './router/router'
import components from './config/components'

import ElementUI from 'element-ui';

// import ElementUI's styles
import 'element-ui/lib/theme-chalk/index.css';




Vue.use(components)

Vue.config.productionTip = false
Vue.use(VueRouter)


Vue.use(ElementUI);





new Vue({
  render: h => h(App),
  router,
  beforeCreate(){
    Vue.prototype.$bus = this
  },
}).$mount('#app')
